home *** CD-ROM | disk | FTP | other *** search
/ SuperModels in the Rainforest / SuperModels in the Rainforest.iso / rain.dxr / 00252.ls < prev    next >
Encoding:
Text File  |  1995-10-13  |  888 b   |  23 lines

  1. on mouseDown
  2.   global giVid2Sprite, mouseUp, mouseUp, mouseUp, glShotList, gbShotFlag, giCurrentGirl, glGirlNames, giTempVid2Cast, giVidSprite, gsMovieDir, giTempVidCast, giNavNumber, aIndex, septracker
  3.   puppetSound("snapshot")
  4.   set sTemp to getAt(glGirlNames, giCurrentGirl)
  5.   if giNavNumber > 9 then
  6.     set giNavNumber to 1
  7.   end if
  8.   set sMovieName to gsMovieDir & sTemp & septracker & sTemp & aIndex & giNavNumber & ".mov"
  9.   set giNavNumber to giNavNumber + 1
  10.   set the fileName of cast giTempVid2Cast to sMovieName
  11.   if the result = 1 then
  12.     set tempSprite to 3
  13.     set tempCast to giTempVid2Cast
  14.   end if
  15.   if gbShotFlag = 0 then
  16.     set glShotList to [the fileName of cast tempCast, the movieTime of sprite tempSprite]
  17.     set gbShotFlag to 1
  18.   else
  19.     append(glShotList, the fileName of cast tempCast)
  20.     append(glShotList, the movieTime of sprite tempSprite)
  21.   end if
  22. end
  23.